import request from '@/utils/request.js'
// 用户登陆
export const userLogin = ({ username, password }) => {
  return request.post('/auth/login', {
    username, password
  })
}
// 获取用户信息
export const userInfo = () => {
  return request.get('/auth/currentUser')
}
